/**
 * Created on Apr 22, 2007
 */
package bsh.commands;

import jvs.vfs.FileSystem;
import x.java.lang.System;
import bsh.CallStack;
import bsh.Interpreter;
/**
 * @author qiangli
 * 
 */
public class unmount {

	public static String usage() {
		return "usage: unmount(String mp)";
	}

	public static void invoke(Interpreter env, CallStack callstack, String base) {
		try {
			FileSystem.getFileSystem().unmount(base);
		} catch (Exception e) {
			System.out().println(e);
		}
	}
}